VALUE

 

Description

Use VALUE type to assign a value to a MathVariable.  This is also useful for initializing MathVariables by assigning a value.  MathVariables may store the last executed value, which will cause incorrect calculations if the configuration is executed again. 

 

VALUE Element/Attribute Table

TYPE=SYSTEMDATE

Element

Attributes

Attribute Value

Element Value

<MathVariable>

TYPE

VALUE

The actual value you want the MathVariable to be.

LOG

Yes:  the result is stored in AsActivityMath table to be used by other rules.

No:  result is not stored.

 

ROUND

Integer

Use to set rounding of decimal.

 


XML Example

<MathVariable VARIABLENAME="MyVariableName" TYPE="VALUE" DATATYPE="INTEGER">1</MathVariable>